<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>qt6-tools</Name>
        <Homepage>http://qt.digia.com/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <Summary>A cross-platform application and UI framework (Development Tools, QtHelp)</Summary>
        <Description>A cross-platform application and UI framework (Development Tools, QtHelp)</Description>
        <License>LGPLv2.1-linking-exception</License>
        <Archive sha1sum="af3547f4e7de8c3581757363bcb97d0fd45e78c4" type="tarxz">https://download.qt.io/official_releases/qt/6.4/6.4.2/submodules/qttools-everywhere-src-6.4.2.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>ninja</Dependency>
            <Dependency>cmake</Dependency>
            <Dependency>llvm</Dependency>
            <Dependency>libxkbcommon-devel</Dependency>
            <Dependency versionFrom="10.0.1">llvm-clang-devel</Dependency>
            <Dependency versionFrom="11.0.0">lld-devel</Dependency>
            <Dependency versionFrom="11.0.0">llvm-mlir</Dependency>
            <Dependency versionFrom="11.0.0">llvm-polly</Dependency>
            <Dependency versionFrom="6.4.2">qt6-base-devel</Dependency>
            <Dependency versionFrom="6.4.2">qt6-sql-sqlite</Dependency>
            <Dependency versionFrom="6.4.2">qt6-sql-mysql</Dependency>
            <Dependency versionFrom="6.4.2">qt6-sql-odbc</Dependency>
            <Dependency versionFrom="6.4.2">qt6-base-devel</Dependency>
            <Dependency versionFrom="6.4.2">qt6-sql-postgresql</Dependency>
            <Dependency>icon-theme-hicolor</Dependency>
            <Dependency>vulkan-headers</Dependency>
            <Dependency versionFrom="6.4.2">qt6-declarative-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">qt6-tools-qtwebkit.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>qt6-assistant</Name>
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency>llvm-libs</Dependency>
            <Dependency>llvm-clang</Dependency>
            <Dependency versionFrom="6.4.2">qt6-base</Dependency>
            <Dependency versionFrom="6.4.2">qt6-sql-sqlite</Dependency>
            <Dependency versionFrom="6.4.2">qt6-declarative</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/qdistancefieldgenerator-qt6</Path>            
            <Path fileType="executable">/usr/bin/assistant-qt6</Path>
            <Path fileType="executable">/usr/bin/qhelpgenerator-qt6</Path>
            <Path fileType="executable">/usr/bin/qhelpconverter-qt6</Path>
            <Path fileType="executable">/usr/bin/qdoc-qt6</Path>
            <Path fileType="executable">/usr/bin/qtattributionsscanner-qt6</Path>
            <Path fileType="executable">/usr/lib/qt6/libexec/qtattributionsscanner</Path>

            <Path fileType="executable">/usr/lib/qt6/bin/qdistancefieldgenerator</Path>            
            <Path fileType="executable">/usr/lib/qt6/bin/assistant</Path>
            <Path fileType="executable">/usr/lib/qt6/bin/qhelpgenerator</Path>
            <Path fileType="executable">/usr/lib/qt6/bin/qhelpconverter</Path>
            <Path fileType="executable">/usr/lib/qt6/bin/qdoc</Path>
            <Path fileType="executable">/usr/lib/qt6/bin/qtattributionsscanner</Path>
            <Path fileType="executable">/usr/lib/qt6/libexec/qhelpgenerator</Path>
            
            <Path fileType="library">/usr/lib/cmake/Qt6Help</Path>
            <Path fileType="library">/usr/lib/libQt6Help*</Path>
            <Path fileType="library">/usr/lib/libQt6CLucene*</Path>
            <Path fileType="library">/usr/lib/metatypes/qt6help_relwithdebinfo_metatypes.json</Path>
<!--             <Path fileType="library">/usr/lib/metatypes/qt6uitools_relwithdebinfo_metatypes.json</Path> -->
            <Path fileType="library">/usr/lib/qt6/mkspecs/modules/qt_lib_clucene_private.pri</Path>
            <Path fileType="data">/usr/lib/qt6/mkspecs/modules/qt_lib_help*</Path>
            <Path fileType="data">/usr/share/applications/assistant6.desktop</Path>
            <Path fileType="data">/usr/share/qt6/translations/assistant_tr.qm</Path>
            <Path fileType="icon">/usr/share/icons/hicolor/128x128/apps/assistant.png</Path>
            <Path fileType="icon">/usr/share/icons/hicolor/32x32/apps/assistant.png</Path>
            <Path fileType="icon">/usr/share/pixmaps/assistant6.png</Path>
            <Path fileType="executable">/usr/lib/qt6/bin/qcollectiongenerator</Path>
            <Path fileType="executable">/usr/bin/qcollectiongenerator</Path>
            
            <Path fileType="library">/usr/lib/cmake/Qt6DocTools/Qt6DocToolsConfig.cmake</Path>
            <Path fileType="library">/usr/lib/cmake/Qt6DocTools/Qt6DocToolsConfigVersion.cmake</Path>
            <Path fileType="library">/usr/lib/cmake/Qt6AttributionsScannerTools/Qt6AttributionsScannerToolsConfig.cmake</Path>
            <Path fileType="library">/usr/lib/cmake/Qt6AttributionsScannerTools/Qt6AttributionsScannerToolsConfigVersion.cmake</Path>
            <Path fileType="doc">/usr/share/doc/qt6-tools/*</Path>
        </Files>
         <AdditionalFiles>
             <!--Conflicts qt6-translations-->
            <!--AdditionalFile owner="root" permission="0644" target="/usr/share/qt6/translations/assistant_tr.qm">assistant_tr.qm</AdditionalFile--> 
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/assistant6.desktop">assistant.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/assistant6.png">assistant.png</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>qt6-assistant-devel</Name>
        <RuntimeDependencies>
            <Dependency versionFrom="6.4.2">qt6-base-devel</Dependency>
            <Dependency release="current">qt6-assistant</Dependency>
            <Dependency versionFrom="10.0.1">llvm-clang-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/qt6/QtHelp</Path>
            <Path fileType="header">/usr/include/qt6/QtCLucene</Path>
            <Path fileType="library">/usr/lib/pkgconfig/Qt6Help.pc</Path>
            <Path fileType="library">/usr/lib/pkgconfig/Qt6CLucene.pc</Path>
        </Files>
    </Package>

    <Package>
        <Name>qt6-designer</Name>
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency versionFrom="6.4.2">qt6-base</Dependency>
            <Dependency versionFrom="6.4.2">qt6-declarative</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/designer-qt6</Path>
            <Path fileType="executable">/usr/bin/qtdiag-qt6</Path>
            <Path fileType="executable">/usr/bin/qtpaths-qt6</Path>
            <Path fileType="executable">/usr/bin/pixeltool-qt6</Path>
            <Path fileType="executable">/usr/bin/qtplugininfo-qt6</Path>
            <Path fileType="executable">/usr/bin/qtdiag6-qt6</Path>
            
            <Path fileType="executable">/usr/lib/qt6/bin/designer</Path>
            <Path fileType="executable">/usr/lib/qt6/bin/qtdiag</Path>
            <Path fileType="executable">/usr/lib/qt6/bin/qtpaths</Path>
            <Path fileType="executable">/usr/lib/qt6/bin/pixeltool</Path>
            <Path fileType="executable">/usr/lib/qt6/bin/qtplugininfo</Path>
            <Path fileType="executable">/usr/lib/qt6/bin/qtdiag6</Path>
            
            <!--?-->
            <Path fileType="data">/usr/share/qt6/modules/UiPlugin.json</Path>
            <Path fileType="data">/usr/share/qt6/modules/UiTools.json</Path>
            <Path fileType="data">/usr/share/qt6/modules/Tools.json</Path>
            <Path fileType="data">/usr/share/qt6/modules/Help.json</Path>
            <Path fileType="data">/usr/share/qt6/modules/DesignerComponentsPrivate.json</Path>
            <Path fileType="library">/usr/lib/cmake/Qt6Tools/</Path>
            <Path fileType="library">/usr/lib/cmake/Qt6ToolsTools/</Path>
            <Path fileType="library">/usr/lib/cmake/Qt6/FindWrapLibClang.cmake</Path>
            <Path fileType="library">/usr/lib/cmake/Qt6BuildInternals/StandaloneTests/QtToolsTestsConfig.cmake</Path>
            <Path fileType="library">/usr/lib/cmake/Qt6DesignerComponentsPrivate/*</Path>
            
            <Path fileType="library">/usr/lib/cmake/Qt6Designer</Path>
            <Path fileType="library">/usr/lib/cmake/Qt6UiTools</Path>
            <Path fileType="library">/usr/lib/cmake/Qt6UiPlugin</Path>
            <Path fileType="library">/usr/lib/cmake/Qt6DesignerComponents/Qt6DesignerComponentsConfig.cmake</Path>
            <Path fileType="library">/usr/lib/cmake/Qt6DesignerComponents/Qt6DesignerComponentsConfigVersion.cmake</Path>
            <Path fileType="library">/usr/lib/qt6/plugins/designer</Path>
            <Path fileType="data">/usr/share/applications/designer6.desktop</Path>
            <Path fileType="data">/usr/share/qt6/translations/designer_tr.qm</Path>
            <Path fileType="icon">/usr/share/icons/hicolor/128x128/apps/QtProject-designer.png</Path>
            <Path fileType="icon">/usr/share/pixmaps/designer6.png</Path>
            <Path fileType="library">/usr/lib/libQt6Designer*</Path>
            <Path fileType="library">/usr/lib/libQt6UiPlugin.prl</Path>
            <Path fileType="library">/usr/lib/libQt6UiTools*</Path>
            <Path fileType="library">/usr/lib/libQt6Tools*</Path>
            <Path fileType="library">/usr/lib/qt6/mkspecs/modules/qt_lib_designer*</Path>
            <Path fileType="library">/usr/lib/qt6/mkspecs/modules/qt_lib_uitools*</Path>
            <Path fileType="library">/usr/lib/qt6/mkspecs/modules/qt_lib_uiplugin.pri</Path>
            <Path fileType="library">/usr/lib/qt6/mkspecs/modules/qt_lib_tools_private.pri</Path>
            <Path fileType="library">/usr/lib/metatypes/qt6designer*</Path>
            <Path fileType="library">/usr/lib/metatypes/qt6uitools*</Path>
            
            <Path fileType="data">/usr/share/qt6/modules/Designer.json</Path>
            <Path fileType="data">/usr/share/qt6/modules/DesignerComponents.json</Path>
        </Files>
         <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/designer6.desktop">designer.desktop</AdditionalFile>
            <!--Conflicts qt6-translations-->
            <!--AdditionalFile owner="root" permission="0644" target="/usr/share/qt6/translations/designer_tr.qm">designer_tr.qm</AdditionalFile-->
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/designer6.png">designer.png</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>qt6-designer-devel</Name>
        <RuntimeDependencies>
            <Dependency>qt6-base-devel</Dependency>
            <Dependency release="current">qt6-designer</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/qt6/QtTools/QtTools*</Path>
            <Path fileType="header">/usr/include/qt6/QtTools/qttools*</Path>
            <Path fileType="header">/usr/include/qt6/QtTools/6.4.2/QtTools/private/qttools-config_p.h</Path>
            <Path fileType="header">/usr/include/qt6/QtDesigner*</Path>
            <Path fileType="header">/usr/include/qt6/QtUiTools</Path>
            <Path fileType="header">/usr/include/qt6/QtUiPlugin</Path>
            <Path fileType="library">/usr/lib/pkgconfig/Qt6Designer*</Path>
            <Path fileType="library">/usr/lib/pkgconfig/Qt6UiTools.pc</Path>
            <Path fileType="library">/usr/lib/pkgconfig/Qt6UiPlugin.pc</Path>
        </Files>
    </Package>

    <Package>
        <Name>qt6-linguist</Name>
        <RuntimeDependencies>
            <Dependency>qt6-base</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>llvm-libs</Dependency>
            <Dependency>llvm-clang</Dependency>
            <Dependency>qt6-designer</Dependency>
            <Dependency>qt6-declarative</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/lrelease*</Path>
            <Path fileType="executable">/usr/bin/linguist-qt6</Path>
            <Path fileType="executable">/usr/bin/lconvert-qt6</Path>
            <Path fileType="executable">/usr/bin/lupdate*</Path>
            <Path fileType="executable">/usr/bin/lprodump-qt6</Path>
            
            <Path fileType="executable">/usr/lib/qt6/bin/lrelease*</Path>
            <Path fileType="executable">/usr/lib/qt6/bin/linguist</Path>
            <Path fileType="executable">/usr/lib/qt6/bin/lconvert</Path>
            <Path fileType="executable">/usr/lib/qt6/bin/lupdate*</Path>
            <Path fileType="executable">/usr/lib/qt6/bin/lprodump</Path>
            <Path fileType="executable">/usr/lib/qt6/libexec/lupdate-pro</Path>
            <Path fileType="executable">/usr/lib/qt6/libexec/lrelease-pro</Path>
            <Path fileType="executable">/usr/lib/qt6/libexec/lprodump</Path>
            
            <Path fileType="library">/usr/lib/cmake/Qt6Linguist/</Path>
            <Path fileType="library">/usr/lib/cmake/Qt6LinguistTools</Path>
            <Path fileType="data">/usr/share/applications/linguist6.desktop</Path>
            <Path fileType="icon">/usr/share/icons/hicolor/128x128/apps/linguist.png</Path>
            <Path fileType="icon">/usr/share/icons/hicolor/16x16/apps/linguist.png</Path>
            <Path fileType="icon">/usr/share/icons/hicolor/32x32/apps/linguist.png</Path>
            <Path fileType="icon">/usr/share/icons/hicolor/48x48/apps/linguist.png</Path>
            <Path fileType="icon">/usr/share/icons/hicolor/64x64/apps/linguist.png</Path>
            <Path fileType="icon">/usr/share/pixmaps/linguist6.png</Path>
            <Path fileType="data">/usr/share/qt6/phrasebooks</Path>
            <Path fileType="data">/usr/share/qt6/translations/linguist_tr.qm</Path>

            <Path fileType="library">/usr/lib/pkgconfig/Qt6Linguist.pc</Path>
            
            <Path fileType="data">/usr/share/qt6/modules/Linguist.json</Path>
            <Path fileType="data">/usr/lib/qt6/mkspecs/modules/qt_lib_linguist.pri</Path>
            <Path fileType="data">/usr/lib/qt6/mkspecs/modules/qt_lib_linguist_private.pri</Path>
        </Files>
         <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/linguist6.desktop">linguist.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/linguist6.png">linguist.png</AdditionalFile>
            <!--Conflicts qt6-translations-->
            <!--AdditionalFile owner="root" permission="0644" target="/usr/share/qt6/translations/linguist_tr.qm">linguist_tr.qm</AdditionalFile-->
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>qt6-qdbusviewer</Name>
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency>qt6-base</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/qdbusviewer-qt6</Path>
            <Path fileType="executable">/usr/bin/qdbus-qt6</Path>
            <Path fileType="executable">/usr/lib/qt6/bin/qdbusviewer</Path>
            <Path fileType="executable">/usr/lib/qt6/bin/qdbus</Path>
            <Path fileType="data">/usr/share/applications/qdbusviewer6.desktop</Path>
            <Path fileType="icon">/usr/share/icons/hicolor/128x128/apps/qdbusviewer.png</Path>
            <Path fileType="icon">/usr/share/icons/hicolor/32x32/apps/qdbusviewer.png</Path>
            <Path fileType="icon">/usr/share/pixmaps/qdbusviewer6.png</Path>
        </Files>
         <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/qdbusviewer6.desktop">qdbusviewer.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/qdbusviewer6.png">assistant.png</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="3">
            <Date>2023-01-31</Date>
            <Version>6.4.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2023-01-18</Date>
            <Version>6.4.0</Version>
            <Comment>Rebuild clang</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2022-10-06</Date>
            <Version>6.4.0</Version>
            <Comment>First release</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
    </History>
</PISI>
